{% extends "photologue/root.html" %}

{% load tagging_tags %}

{% block title %}All Photo Tags{% endblock %}

{% block body_id %}photo_tags{% endblock %}

{% block content %}

<h1>All Photo Tags</h1>

{% tag_cloud_for_model photologue.Photo as photo_tags with steps=9 distribution=log %}

<div id="tag_cloud">
{% for tag in photo_tags %}
<span class="tag-{{tag.font_size|add:"2"}}"><a 
  href="{% url photo_tags_detail tag.name %}">{{tag.name}}</a></span> 
{% endfor %}
</div>

{% endblock %}
